#include "MTInteger.hpp"
#include <iostream>
#include <sstream>
#include <string>

namespace MathematicaTranslator
{
 	std::string* MTInteger::generateCode(CodeGenContext& context)
	{
		std::ostringstream ss;
		ss << value;

		#ifdef DEBUG
			std::cout<<"Integer variable created" <<std::endl;
		#endif

		return new std::string(ss.str());
	}
	
	std::string* MTInteger::getType()
	{
		return new std::string("int");
	}

}
